#!/usr/bin/python3

str = 'Runoob' #定义一个字符串变量
print(str)
print(str[0:-1])
print(str[0])
print(str[2:5])
print(str[2:])
print(str * 2)
print(str + "TEST")

print('Ru\noob')
print(r'Ru\noob')